import request from "../../utils/request"
import {  newPeopleData, ResponseHotData } from "./type";

export const reqNewPeople=(pageNum:number,pageSize:number)=>{
  return request.get<any,newPeopleData>(`/revision/category/v2/albums?pageNum=${pageNum}&pageSize=${pageSize}&sort=1`)
  // return request.get('/hotWordBillboardCategory');
};


export const reqHotData=()=>{
  return request.get<any,ResponseHotData>('/web-site/main/page');
}